package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 朋友关系表 sys_user_friend
 * 
 * @author ruoyi
 * @date 2019-06-13
 */
public class UserFriend extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 本体电话 */
	private String pHONE;
	/** 上级电话 */
	private String parent;
	/** 姓名 */
	private String name;
	/** 等级 */
	private String level;
	/** 注册时间 */
	private Long ct;
	/** 黄金时间 */
	private Long gt;
	/** 经济人事件 */
	private Long bt;
	/** 消费时间 */
	private Long st;
	/** 一级好友集合，json数组 */
	private String friend;
	/**  */
	private Date createTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setPHONE(String pHONE) 
	{
		this.pHONE = pHONE;
	}

	public String getPHONE() 
	{
		return pHONE;
	}
	public void setParent(String parent) 
	{
		this.parent = parent;
	}

	public String getParent() 
	{
		return parent;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setLevel(String level) 
	{
		this.level = level;
	}

	public String getLevel() 
	{
		return level;
	}
	public void setCt(Long ct) 
	{
		this.ct = ct;
	}

	public Long getCt() 
	{
		return ct;
	}
	public void setGt(Long gt) 
	{
		this.gt = gt;
	}

	public Long getGt() 
	{
		return gt;
	}
	public void setBt(Long bt) 
	{
		this.bt = bt;
	}

	public Long getBt() 
	{
		return bt;
	}
	public void setSt(Long st) 
	{
		this.st = st;
	}

	public Long getSt() 
	{
		return st;
	}
	public void setFriend(String friend) 
	{
		this.friend = friend;
	}

	public String getFriend() 
	{
		return friend;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pHONE", getPHONE())
            .append("parent", getParent())
            .append("name", getName())
            .append("level", getLevel())
            .append("ct", getCt())
            .append("gt", getGt())
            .append("bt", getBt())
            .append("st", getSt())
            .append("friend", getFriend())
            .append("createTime", getCreateTime())
            .toString();
    }
}
